/**
 * adm
 * training class
 */
package net.homeip.manizzz.dao;

import java.util.Collection;

import net.homeip.manizzz.model.Advertisement;
import net.homeip.manizzz.model.User;

/**
 * @author adm
 *
 */
public interface IAdvertisementRepository {
	void createAdvertistment(long userid);
	Advertisement editAdvertisment(Advertisement advertistment, User user);
	void deleteAdvertistment(Advertisement advertistment, User user);
	Collection<Advertisement> findAllAdvertisement();
	Advertisement findAdvertisementByUser(long userid);
	Collection<Advertisement> findAdvertisementByTags(String str[]);
}
